﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;

namespace FeedReader.Shared.Data
{
    public class UsersDataModel :TableServiceEntity
    {
        public UsersDataModel(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public UsersDataModel(): this(Guid.NewGuid().ToString(), String.Empty)
        {
        }
        /// <summary>
        ///  The User ID of this user - this is supplied by an external authentication service. i.e Windows Live ID, Open ID, Google Accounts
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        ///  The timestamp
        /// </summary>
        public DateTime DateTime{get;set;}
        /// <summary>
        ///  The First Name of the User
        /// </summary>
        public string UserFName { get; set; }
        /// <summary>
        ///  The Last Name of the User
        /// </summary>
        public string UserLName { get; set; }
        /// <summary>
        ///  The Type of account - Standard or Administrator
        /// </summary>
        public string Type { get; set; }
    }
}
